package cn.com.fattiger.framework;


public class BitDemo {
	public static void main(String[] args){
		Integer a = -1>>>1;
		Integer b = -1 >>1;
		System.out.println(a);
		System.out.println(b);
		System.out.println(Integer.toBinaryString(a));
		System.out.println(Integer.toBinaryString(b));
		System.out.println(Integer.toBinaryString(-4));
		System.out.println(Integer.toBinaryString(4));
		System.out.println(Integer.toBinaryString(-1));
		System.out.println(Integer.toBinaryString(255));
	}
}
